Merged
Conversation
@loongphy/codex-auth-darwin-arm64
@loongphy/codex-auth-darwin-x64
@loongphy/codex-auth-linux-x64
@loongphy/codex-auth-win32-x64
@loongphy/codex-auth
commit: |
Force the first daemon cycle to sync auth.json into stored account snapshots before grouped account-name refresh runs. Also free duplicated candidate user ids when appending a refresh candidate fails.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
switch <query>now uses case-insensitive substring matching onemail,alias, andaccount_name.config api enable|disablenow toggles bothapi.usageandapi.account.listshows all accounts, but api only works for currently active account:alias (name)>alias>name> fallback.teamfreeteam #1/team #2Example
Validation
zig build testzig build run -- listNote
Add team account name refresh to fetch and display ChatGPT account display names
account_namefield toAccountRecordand a separateapi.accountconfig toggle alongsideapi.usage, with backfill logic for existing registries that only have one flag.src/account_api.zigto fetch account metadata from the ChatGPTaccounts/checkendpoint, andsrc/account_name_refresh.zigfor file-based locking and candidate selection for background refresh.alias (account_name)oremail / aliasformats, and account search now matches againstaccount_name.src/chatgpt_http.zig, replacing the per-module curl/PowerShell implementations insrc/usage_api.zig.api enablenow toggles bothapi.usageandapi.accountsimultaneously; previously only usage was affected.Macroscope summarized 3df9878.